/**
 * 
 */
package vn.smartware.co.framework.form;

import java.util.Date;

/**
 * LoginForm
 * @author thuctt
 */
public class LoginForm extends ActionForm {
	
	/**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = -2733999433394621222L;

	private int loginIndex = -1;
	
	/**
	 * userCd
	 */
	private int userCd;

	/**
	 * username
	 */
	private String username;
	
	/**
	 * password
	 */
	private String password;
	
	/**
	 * loginTryNumber
	 */
	private int loginTryNumber;
	
	/**
	 * lockOutDate
	 */
	private String lockOutDate;
	
	/**
	 * loginDate
	 */
	private Date loginDate;
	
	/**
	 * login successfully
	 */
	private boolean loginSuccess;
	
	/**
	 * sessionTimeout
	 */
	private boolean sessionTimeout = false;
	
	/**
	 * userChanged
	 */
	private boolean userChanged = false;
	
	/**
	 * @return the sessionTimeout
	 */
	public boolean isSessionTimeout() {
		return sessionTimeout;
	}
	/**
	 * @param sessionTimeout the sessionTimeout to set
	 */
	public void setSessionTimeout(boolean sessionTimeout) {
		this.sessionTimeout = sessionTimeout;
	}
	/**
	 * @return the password
	 */
	public String getPassword() {
		return password;
	}
	/**
	 * @param password the password to set
	 */
	public void setPassword(String password) {
		this.password = password;
	}
	/**
	 * @return the username
	 */
	public String getUsername() {
		return username;
	}
	/**
	 * @param username the username to set
	 */
	public void setUsername(String username) {
		this.username = username;
	}
	/**
	 * @return the lockOutDate
	 */
	public String getLockOutDate() {
		return lockOutDate;
	}
	/**
	 * @param lockOutDate the lockOutDate to set
	 */
	public void setLockOutDate(String lockOutDate) {
		this.lockOutDate = lockOutDate;
	}
	/**
	 * @return the loginDate
	 */
	public Date getLoginDate() {
		return loginDate;
	}
	/**
	 * @param loginDate the loginDate to set
	 */
	public void setLoginDate(Date loginDate) {
		this.loginDate = loginDate;
	}
	/**
	 * @return the loginTryNumber
	 */
	public int getLoginTryNumber() {
		return loginTryNumber;
	}
	/**
	 * @param loginTryNumber the loginTryNumber to set
	 */
	public void setLoginTryNumber(int loginTryNumber) {
		this.loginTryNumber = loginTryNumber;
	}
	/**
	 * @return the loginSuccess
	 */
	public boolean isLoginSuccess() {
		return loginSuccess;
	}
	/**
	 * @param loginSuccess the loginSuccess to set
	 */
	public void setLoginSuccess(boolean loginSuccess) {
		this.loginSuccess = loginSuccess;
	}
	/**
	 * @return the userCd
	 */
	public int getUserCd() {
		return userCd;
	}
	/**
	 * @param userCd the userCd to set
	 */
	public void setUserCd(int userCd) {
		this.userCd = userCd;
	}
	/**
	 * @return the userChanged
	 */
	public boolean isUserChanged() {
		return userChanged;
	}
	/**
	 * @param userChanged the userChanged to set
	 */
	public void setUserChanged(boolean userChanged) {
		this.userChanged = userChanged;
	}
	/**
	 * @return the loginIndex
	 */
	public int getLoginIndex() {
		return loginIndex;
	}
	/**
	 * @param loginIndex the loginIndex to set
	 */
	public void setLoginIndex(int loginIndex) {
		this.loginIndex = loginIndex;
	}
}
